package ybl.qianchuan.entities;

public class LiveRoom {
    private double gmv = 0; // 场次总金额
    private double cost = 0; //场次消耗
    private String startTime; //开场时间
    private Long roomId; //房间ID
    private Long awemeId; //主播ID
    private String awemeShowId;


    public double getGmv() {
        return this.gmv;
    }

    public void setGmv(double gmv) {
        this.gmv = gmv;
    }

    public void plusGmv(double gmv){
        this.gmv = getGmv() + gmv;  
    }
    
    public double getCost() {
        return this.cost;
    }

    public void setCost(double cost) {
        this.cost = cost;
    }

    public void plusCost(double cost){
        this.cost = getCost() + cost;  
    }

    public String getStartTime() {
        return this.startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public Long getRoomId() {
        return this.roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public Long getAwemeId() {
        return this.awemeId;
    }

    public void setAwemeId(Long awemeId) {
        this.awemeId = awemeId;
    }


    public String getAwemeShowId() {
        return this.awemeShowId;
    }

    public void setAwemeShowId(String awemeShowId) {
        this.awemeShowId = awemeShowId;
    }


    @Override
    public String toString() {
        return "{" +
            " gmv(元)='" + getGmv()/100 + "'" +
            ", cost(元)='" + getCost()/100 + "'" +
            ", startTime='" + getStartTime() + "'" +
            ", roomId='" + getRoomId() + "'" +
            ", awemeId='" + getAwemeId() + "'" +
            ", awemeShowId='" + getAwemeShowId() + "'" +
            "}";
    }
    
    
 }
